//
//  AFHTTPSessionManager+Helper.h
//  BaseLib
//
//  Created by CPX on 2018/9/13.
//

#import "AFHTTPSessionManager.h"


/**
 AFNetworking扩展
 */
@interface AFHTTPSessionManager (Helper)

- (nullable NSURLSessionDataTask *)PUT:(NSString *)URLString
                             parameters:(nullable id)parameters
              constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
                               progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;

@end
